//100以内的7和7的倍数，统计个数，显示出来

#include <stdio.h>
int main(){
	int num[50] = {0};
	int count = 0;
	int j = 0;
	for(int i = 1 ; i < 100 ; i++){
		if(i % 7 == 0 ){
			count++;
			num[j] = i;
			printf("num[%d]=%d\n",j,i);
			j++;	
		} else if(i % 10 == 7 || i / 10 % 10 == 7){
			count++;
			num[j] = i;
			printf("num[%d]=%d\n",j,i);
			j++;
		} 
	}
	
	printf("%d\n",count);

	return 0;
}
